<?php
include_once 'include/control/context.php.inc';
include_once 'include/control/JobsControl.php';

$model = getJobsByUser();

$title="itjobs.sinaapp.com, 基于新浪微博的IT招聘求职应用";
$keywords ="itjobs,itjobs2011,it求职，it招聘，微博招聘";
$description = "itjobs.sinaapp.com, 基于新浪微博的IT招聘求职应用，微博招聘";

include_once 'include/parts/header.php.inc';
?>
<div class="three_row">
<div class="l"><img src="<?php echo $model-> User-> profile_image_url;?>" alt="<?php echo $model-> User-> name;?>" /></div>
	<div class="third">
    	<div class="round_10 b1 bg1 l_shadow p10">
    	<h3>个人介绍：</h3>
    		<?php echo $model-> User-> profile;?>
    	</div>
	</div>
	<div class="r">
	    <div class="pt5"><h1><?php echo $model-> User->name;?></h1></div>
	    <p class="pt5 pl3"><a href="http://weibo.com/<?php echo $model-> User->id;?>" target="_blank" >新浪微博</a> <a href="#?">关注</a></p>
		 <?php
		foreach ($model-> jobs as $job) { ?>
		    <div class="hr_joblist">
		      <div class="top t14 bold pb5"><a href="/job/<?php echo $job->id; ?>"><?php echo $job->title; ?></a></div>
		      <div class="tr"><a href="#?" class="pr15">Like</a><a href="#?">评论</a></div>
		      <div class="pt5"><?php echo nl2br($job-> body); ?></div>
		    </div>
		<?php }?>
   </div>
</div>

<?php
include_once 'include/parts/footer.php.inc';
?>
